.Net Framework > v2.0.50727 > System > Web > HttpException > HttpException HttpException()
HttpException(Int32,String)
HttpException(Int32,String,Exception)
HttpException(Int32,String,Int32)
HttpException(SerializationInfo,StreamingContext)
HttpException(String)
HttpException(String,Exception)
HttpException(String,Int32)


HttpException()

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class and creates an empty System.Web.HttpException object.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(Int32,String)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using an HTTP response status code and an error message.
Type
void
Character
public
Parameters
NameTypeDescription
httpCodeInt32
messageString
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(Int32,String,Exception)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using an HTTP response status code, an error message, and the System.Exception.InnerException property.
Type
void
Character
public
Parameters
NameTypeDescription
httpCodeInt32
messageString
innerExceptionException
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(Int32,String,Int32)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using an HTTP response status code, an error message, and an exception code.
Type
void
Character
public
Parameters
NameTypeDescription
httpCodeInt32
messageString
hrInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(SerializationInfo,StreamingContext)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class with serialized data.
Type
void
Character
family
Parameters
NameTypeDescription
infoSerializationInfo
contextStreamingContext
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(String)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using a supplied error message.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(String,Exception)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using an error message and the System.Exception.InnerException property.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
innerExceptionException
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

HttpException(String,Int32)

Category
Constructor
Description
Initializes a new instance of the System.Web.HttpException class using an error message and an exception code.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
hrInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database